<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form method="post" action="{:url('Index/updateWork')}" enctype="multipart/form-data">
    <input type="hidden" name="id" value="{$data.id}">
    标题：<input type="text" name="title" value="{$data.title}" readonly="readonly"/><br>
    类型：<input type="radio" name="type" value="0" {if condition="$data['type'] eq 0"}checked{/if} >贷款
    <input type="radio" name="type" value="1" {if condition="$data['type'] eq 1"}checked{/if} >信用卡
    <input type="radio" name="type" value="3" {if condition="$data['type'] eq 3"}checked{/if}>保险
    <input type="radio" name="type" value="4" {if condition="$data['type'] eq 4"}checked{/if}>汽车金融
    <input type="radio" name="type" value="5" {if condition="$data['type'] eq 5"}checked{/if}>其他<br>
    图片：
    <!--<input type="file" name="img_url"/>-->
    <if condition=" $data.img_url  neq '' ">
        <img src="__ROOT__/uploads/{$data.img_url}">
    </if>
    <br>
    描述：<textarea readonly="readonly" name="content" style="width:200px;height:80px;">{$data.content}</textarea><br>
    回复：
    <!--<input type="file" name="img_url"/>-->
    <input type="file" name="img_url"/><br>

    是否解决：<input type="radio" name="status" value="1" {if condition="$data['status'] eq 1"}checked{/if}>是
    <input type="radio" name="status" value="0" {if condition="$data['status'] eq 0"}checked{/if}>否
    <input type="submit" value="提交"/>
</form>
</body>
</html>